#include "texttodraw.h"
#include "ui_texttodraw.h"

TextToDraw::TextToDraw(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::TextToDraw)
{
    ui->setupUi(this);
}

TextToDraw::~TextToDraw()
{
    delete ui;
}

void TextToDraw::on_pushButton_2_clicked()
{
    this->close();
}

void TextToDraw::on_pushButton_clicked()
{
    glb_text=ui->lineEdit->text();
    QDialog::hide();
}
